s#-------------------------------------------------
#
# Project created by QtCreator 2020-12-17T10:20:47
#
#-------------------------------------------------

QT       += core gui network serialport printsupport svg

greaterThan(QT_MAJOR_VERSION, 4): QT += widgets

TARGET = SuperDT
TEMPLATE = app

MOC_DIR = temp/moc
RCC_DIR = temp/rcc
UI_DIR = temp/ui
OBJECTS_DIR = temp/obj
RC_ICONS = $$PWD/Src/Resource/AppIcon64.ico
#置顶bin文件目录
DESTDIR = $$PWD/Bin
#软件版本号在此修改
VERSION = 1.3.2
UPDATE = "2021/08/22"
# The following define makes your compiler emit warnings if you use
# any feature of Qt which as been marked as deprecated (the exact warnings
# depend on your compiler). Please consult the documentation of the
# deprecated API in order to know how to port your code away from it.
DEFINES += QT_DEPRECATED_WARNINGS
DEFINES += QT_MESSAGELOGCONTEXT
DEFINES += PRO_DIR=\\\"'$$PWD'\\\"
DEFINES += SUPERDT_VERSION=\\\"'$$VERSION'\\\"
DEFINES += SUPERDT_UPDATE=\\\"2021/08/22\\\"
# You can also make your code fail to compile if you use deprecated APIs.
# In order to do so, uncomment the following line.
# You can also select to disable deprecated APIs only up to a certain version of Qt.
#DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000    # disables all the APIs deprecated before Qt 6.0.0

include($$PWD/Src/Sqlite/Sqlite.pri)

SOURCES += \
    $$PWD/Src/main.cpp \
    $$PWD/Src/CMainWindow.cpp \
    $$PWD/Src/Network/AbsConnection.cpp \
    $$PWD/Src/Network/CSerialPort.cpp \
    $$PWD/Src/Network/CTcpClient.cpp \
    $$PWD/Src/Network/CTcpServer.cpp \
    $$PWD/Src/Network/CUdp.cpp \
    $$PWD/Src/Test/CQssTest.cpp \
    $$PWD/Src/Tools/CConversion.cpp \
    $$PWD/Src/Tools/CIconFont.cpp \
    $$PWD/Src/Tools/CUIHelper.cpp \
    $$PWD/Src/Views/History/VHistorySession.cpp \
    $$PWD/Src/Views/Session/VCharts.cpp \
    $$PWD/Src/Views/Session/VReceiveTrig.cpp \
    $$PWD/Src/Views/Session/VSessionInterface.cpp \
    $$PWD/Src/Views/VAbout.cpp \
    $$PWD/Src/Views/Session/VQuickSend.cpp \
    $$PWD/Src/Views/Session/VReceive.cpp \
    $$PWD/Src/Views/Session/VSend.cpp \
    $$PWD/Src/Views/VBaseSplitterForm.cpp \
    $$PWD/Src/Views/VDialogSkin.cpp \
    $$PWD/Src/Views/History/VHistory.cpp \
    $$PWD/Src/Views/VSession.cpp \
    $$PWD/Src/Views/VSettings.cpp \
    $$PWD/Src/Views/VWindowSplitter.cpp \
    $$PWD/Src/Network/CConnectManager.cpp \
    $$PWD/Src/Tools/CHelper.cpp \
    $$PWD/Src/Views/Session/VConnection.cpp \
    $$PWD/Src/Tools/qcustomplot.cpp \
    $$PWD/Src/Views/VGraphsEditor.cpp \
    $$PWD/Src/Views/VDialogProtocal.cpp \
    $$PWD/Src/Views/VDialogAscii.cpp \
    $$PWD/Src/Ctrller/CPathManager.cpp \
    $$PWD/Src/Views/flowlayout.cpp \
    Src/Ctrller/CConfig.cpp \
    Src/Data/CTableConfig.cpp \
    Src/Data/CTableQuick.cpp \
    Src/Data/CTableSession.cpp \
    Src/Data/CTableTrigger.cpp \
    Src/Views/CIconButton.cpp \
    Src/Views/CColorButton.cpp \
    Src/Views/Session/AxisTag.cpp \
    Src/Views/Session/VChannel.cpp \
    Src/Views/Session/VChartSetting.cpp \
    Src/Views/VDialogSessionSetting.cpp \
    Src/Views/VToast.cpp

HEADERS  += \
    $$PWD/Src/CMainWindow.h \
    $$PWD/Src/Network/AbsConnection.h \
    $$PWD/Src/Network/CSerialPort.h \
    $$PWD/Src/Network/CTcpClient.h \
    $$PWD/Src/Network/CTcpServer.h \
    $$PWD/Src/Network/CUdp.h \
    $$PWD/Src/Test/CQssTest.h \
    $$PWD/Src/Tools/CConversion.h \
    $$PWD/Src/Tools/CIconFont.h \
    $$PWD/Src/Tools/CUIHelper.h \
    $$PWD/Src/Views/History/VHistorySession.h \
    $$PWD/Src/Views/Session/VCharts.h \
    $$PWD/Src/Views/Session/VReceiveTrig.h \
    $$PWD/Src/Views/Session/VSessionInterface.h \
    $$PWD/Src/Views/VAbout.h \
    $$PWD/Src/Views/Session/VQuickSend.h \
    $$PWD/Src/Views/Session/VReceive.h \
    $$PWD/Src/Views/Session/VSend.h \
    $$PWD/Src/Views/VBaseSplitterForm.h \
    $$PWD/Src/Views/VDialogSkin.h \
    $$PWD/Src/Views/History/VHistory.h \
    $$PWD/Src/Views/VSession.h \
    $$PWD/Src/Views/VSettings.h \
    $$PWD/Src/Views/VWindowSplitter.h \
    $$PWD/Src/Network/CConnectManager.h \
    $$PWD/Src/Tools/CHelper.h \
    $$PWD/Src/Network/IConnectInterface.h \
    $$PWD/Src/Views/Session/VConnection.h \
    $$PWD/Src/Tools/qcustomplot.h \
    $$PWD/Src/Views/VGraphsEditor.h \
    $$PWD/Src/Views/VDialogProtocal.h \
    $$PWD/Src/Views/VDialogAscii.h \
    $$PWD/Src/Ctrller/CPathManager.h \
    $$PWD/Src/Views/flowlayout.h \
    Src/Ctrller/CConfig.h \
    Src/Data/CTableConfig.h \
    Src/Data/CTableQuick.h \
    Src/Data/CTableSession.h \
    Src/Data/CTableTrigger.h \
    Src/Views/CIconButton.h \
    Src/Views/CColorButton.h \
    Src/Views/Session/AxisTag.h \
    Src/Views/Session/VChannel.h \
    Src/Views/Session/VChartSetting.h \
    Src/Views/VDialogSessionSetting.h \
    Src/Views/VToast.h

FORMS += \
    $$PWD/Src/CMainWindow.ui \
    $$PWD/Src/Test/CQssTest.ui \
    $$PWD/Src/Views/History/VHistorySession.ui \
    $$PWD/Src/Views/Session/VCharts.ui \
    $$PWD/Src/Views/Session/VReceiveTrig.ui \
    $$PWD/Src/Views/VAbout.ui \
    $$PWD/Src/Views/Session/VQuickSend.ui \
    $$PWD/Src/Views/Session/VReceive.ui \
    $$PWD/Src/Views/Session/VSend.ui \
    $$PWD/Src/Views/VDialogSkin.ui \
    $$PWD/Src/Views/History/VHistory.ui \
    $$PWD/Src/Views/VSession.ui \
    $$PWD/Src/Views/VSettings.ui \
    $$PWD/Src/Views/Session/VConnection.ui \
    $$PWD/Src/Views/VGraphsEditor.ui \
    $$PWD/Src/Views/VDialogProtocal.ui \
    $$PWD/Src/Views/VDialogAscii.ui \
    Src/Views/Session/VChannel.ui \
    Src/Views/Session/VChartSetting.ui \
    Src/Views/VDialogSessionSetting.ui

INCLUDEPATH += \
    $$PWD/Src/ \
    $$PWD/Src/Ctrller\
    $$PWD/Src/App\
    $$PWD/Src/Network\
    $$PWD/Src/Tools\
    $$PWD/Src/Views\
    $$PWD/Src/Views/Session \
    $$PWD/Src/Views/History \
    $$PWD/Src/Test \
    $$PWD/Src/Data

RESOURCES += \
    $$PWD/Src/resource.qrc

DISTFILES += \
    $$PWD/Src/style.qss

TRANSLATIONS += \
    $$PWD/Src/Trans/zh_CN.ts \
    $$PWD/Src/Trans/english.ts
